package com.scuthnweb.service;

import java.util.List;

import com.scuthnweb.domain.Share_link;
import com.scuthnweb.domain.transfer.ResLinkList;

/**
 * 
 * @author YJ.Huang
 *
 */
public interface ResLinkModule {
	
	public boolean createResLink(Integer usid,String link_name,String link_content,String category);

	public boolean deleteResLink(Integer uid,Integer sid);
	
	public boolean deleteResLinkByAdmin(Integer aid,Integer sid,String reason);
	
	public boolean commentResLink(Integer uid,Integer sid);
	
	public Share_link checkResLink(Integer sid);
	
	public ResLinkList checkUserResLink(Integer uid,Integer pageSize,Integer page);
	
	public ResLinkList checkAllResLinks(String category,String link_name,Integer page,Integer page_size);
	
	public boolean modifyResLink(Integer uid,Integer sid, String link_name,String link,String category);
}
